package com.lxp.base.base;

import android.app.Application;

import com.lxp.base.log.Log;


/**
 * @author liuxiaopeng
 * @version V1.0.0
 * @time 16/9/22
 * @describe
 */

public abstract class BaseApplication extends Application {

    @Override
    public void onCreate() {
        super.onCreate();
        Log.setDebug(isDebug());
    }

    /**
     * @return 是否为Debug状态
     */
    protected abstract boolean isDebug();
}
